import logging
logging.basicConfig(format='[%(asctime)s] [%(levelname)s] %(message)s',level=logging.DEBUG)
logging.debug('111')
logging.info("222")
logging.warning('333')
logging.error('444')
logging.critical('555')